<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      AbiWord-3.0.4
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;39.&nbsp;Office Programs
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="office.html" title=
          "Office Programs">Prev</a>
          <p>
            Office Programs
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gnumeric.html" title=
          "Gnumeric-1.12.46">Next</a>
          <p>
            Gnumeric-1.12.46
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="office.html" title=
          "Chapter&nbsp;39.&nbsp;Office Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="abiword" name="abiword"></a>AbiWord-3.0.4
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to AbiWord
        </h2>
        <p>
          <span class="application">AbiWord</span> is a word processor which
          is useful for writing reports, letters and other formatted
          documents.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://www.abisource.com/downloads/abiword/3.0.4/source/abiword-3.0.4.tar.gz">
                http://www.abisource.com/downloads/abiword/3.0.4/source/abiword-3.0.4.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 04e31887049a8c72297881bc153b77c4
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 11 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 605 MB, with docs (76 MB
                installed)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 2.4 SBU (Using parallelism=4, with
                docs)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Additional Downloads
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                AbiWord Docs: <a class="ulink" href=
                "http://www.abisource.com/downloads/abiword/3.0.2/source/abiword-docs-3.0.2.tar.gz">
                http://www.abisource.com/downloads/abiword/3.0.2/source/abiword-docs-3.0.2.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                AbiWord Docs MD5 sum: c92c0e1e2081db20757231a53d80c338
              </p>
            </li>
            <li class="listitem">
              <p>
                AbiWord Docs size: 1.5 MB
              </p>
            </li>
          </ul>
        </div>
        <h3>
          AbiWord Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../general/boost.html" title=
          "Boost-1.72.0">Boost-1.72.0</a>, <a class="xref" href=
          "../general/fribidi.html" title="FriBidi-1.0.8">FriBidi-1.0.8</a>,
          <a class="xref" href="../x/goffice010.html" title=
          "GOffice-0.10.46">GOffice-0.10.46</a>, and <a class="xref" href=
          "../general/wv.html" title="wv-1.2.9">wv-1.2.9</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="../general/enchant.html" title=
          "enchant-2.2.7">enchant-2.2.7</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/dbus-glib.html" title=
          "dbus-glib-0.110">dbus-glib-0.110</a>, <a class="xref" href=
          "../gnome/evolution-data-server.html" title=
          "evolution-data-server-3.34.4">evolution-data-server-3.34.4</a>,
          <a class="xref" href="../general/gobject-introspection.html" title=
          "gobject-introspection-1.62.0">gobject-introspection-1.62.0</a>,
          <a class="xref" href="../gnome/libchamplain.html" title=
          "libchamplain-0.12.20">libchamplain-0.12.20</a>, <a class="xref"
          href="../general/libgcrypt.html" title=
          "libgcrypt-1.8.5">libgcrypt-1.8.5</a>, <a class="xref" href=
          "../general/libical.html" title="libical-3.0.7">libical-3.0.7</a>,
          <a class="xref" href="../basicnet/libsoup.html" title=
          "libsoup-2.68.3">libsoup-2.68.3</a>, <a class="xref" href=
          "../general/redland.html" title=
          "Redland-1.0.17">Redland-1.0.17</a>, <a class="xref" href=
          "../general/telepathy-glib.html" title=
          "telepathy-glib-0.24.1">telepathy-glib-0.24.1</a>, <a class="xref"
          href="../general/valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a>. <a class="ulink" href=
          "http://aiksaurus.sourceforge.net/">Aiksaurus</a>, <a class="ulink"
          href="http://helm.cs.unibo.it/mml-widget/">GtkMathView</a>,
          <a class="ulink" href=
          "http://sourceforge.net/projects/wvware">libwmf</a>, <a class=
          "ulink" href="http://sourceforge.net/projects/libwpd/">libwpd</a>,
          <a class="ulink" href=
          "http://sourceforge.net/projects/libwpg/">libwpg</a>, <a class=
          "ulink" href="http://sourceforge.net/projects/libwps/">libwps</a>,
          <a class="ulink" href=
          "http://www.abisource.com/projects/link-grammar/">Link Grammar
          Parser</a>, <a class="ulink" href=
          "http://ftp.gnome.org/pub/gnome/sources/loudmouth">Loudmouth</a>,
          <a class="ulink" href=
          "https://sourceforge.net/projects/otslibrary/">OTS</a>, and
          <a class="ulink" href=
          "http://software.frodo.looijaard.name/psiconv/">Psiconv</a>
        </p>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            To enable many of the optional dependencies, review the
            information from <span class="command"><strong>./configure
            --help</strong></span> for the necessary switches you must pass
            to the <span class="command"><strong>configure</strong></span>
            script.
          </p>
        </div>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/abiword">http://wiki.linuxfromscratch.org/blfs/wiki/abiword</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of AbiWord
        </h2>
        <p>
          Install <span class="application">AbiWord</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">sed -e "s/free_suggestions/free_string_list/" \
    -e "s/_to_personal//"                     \
    -e "s/in_session/added/"                  \
    -i src/af/xap/xp/enchant_checker.cpp      &amp;&amp;

./configure --prefix=/usr &amp;&amp;
make</kbd>
</pre>
        <p>
          This program does not come with a functional test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            In order to install the local help files, a graphics session is
            recommended.
          </p>
        </div>
        <p>
          If you wish to install the local help files, untar and build them
          first:
        </p>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            The current version of the docs expands to abiword-docs-3.0.1 and
            not the expected abiword-docs-3.0.2.
          </p>
        </div>
        <pre class="userinput">
<kbd class="command">tar -xf ../abiword-docs-3.0.2.tar.gz &amp;&amp;
cd abiword-docs-3.0.1                &amp;&amp;
./configure --prefix=/usr            &amp;&amp;
make</kbd>
</pre>
        <p>
          and then, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>sed ...</strong></span>: This command
          corrects the source for changes in the dependency <a class="xref"
          href="../general/enchant.html" title=
          "enchant-2.2.7">enchant-2.2.7</a>.
        </p>
        <p>
          <code class="option">--enable-plugins="collab openxml goffice
          grammar"</code>: Build some or all plugins. The openxml plugin
          enables <span class="application">Abiword</span> to open some .docx
          files. The grammar plugin requires <a class="ulink" href=
          "http://www.abisource.com/projects/link-grammar/">Link Grammar
          Parser</a>
        </p>
      </div>
      <div class="configuration" lang="en" xml:lang="en">
        <h2 class="sect2">
          Configuring AbiWord
        </h2>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3">
            <a id="abiword-config" name="abiword-config"></a>
          </h3>
          <h4 class="title">
            <a id="abiword-config" name="abiword-config"></a>Config File
          </h4>
          <p>
            <code class="filename">~/.AbiSuite/templates/normal.awt</code>
          </p>
        </div>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3"></h3>
          <h4 class="title">
            <a id="idm45779239961808" name=
            "idm45779239961808"></a>Configuration Information
          </h4>
          <p>
            Choose the right template for your language and locale from the
            list produced by the following command:
          </p>
          <pre class="userinput">
<kbd class="command">ls /usr/share/abiword-3.0/templates</kbd>
</pre>
          <p>
            Create the folder <code class=
            "filename">~/.AbiSuite/templates</code> then copy the
            <code class="filename">normal.awt</code> you want into it:
          </p>
          <pre class="userinput">
<kbd class="command">install -v -m750 -d ~/.AbiSuite/templates &amp;&amp;
install -v -m640    /usr/share/abiword-3.0/templates/normal.awt-<em class=
"replaceable"><code>&lt;lang&gt;</code></em> \
                    ~/.AbiSuite/templates/normal.awt</kbd>
</pre>
          <p>
            Change <em class="replaceable"><code>&lt;lang&gt;</code></em> by
            the above command to fit the name of the file you want.
          </p>
          <p>
            If you are using multiple languages, you may need to edit the
            template to use a font with greater coverage (e.g. one of the
            <a class="xref" href="../x/TTF-and-OTF-fonts.html#dejavu-fonts"
            title="DejaVu fonts">Dejavu fonts</a>, because <span class=
            "application">Abiword</span> does not use <span class=
            "application">fontconfig</span> and can only display glyphs that
            are provided in the chosen font.
          </p>
          <p>
            If you have <a class="xref" href=
            "../general/desktop-file-utils.html" title=
            "desktop-file-utils-0.24">desktop-file-utils-0.24</a> installed,
            you should run the <span class=
            "command"><strong>update-desktop-database</strong></span> command
            to update the mimeinfo cache and allow the Help system to work.
          </p>
          <p>
            If you have <a class="xref" href="xdg-utils.html" title=
            "xdg-utils-1.1.3">xdg-utils-1.1.3</a> installed, you should run
            the <span class="command"><strong>xdg-icon-resource forceupdate
            --theme hicolor</strong></span> command, for the installed icon
            to be displayed in the menu item.
          </p>
        </div>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">abiword</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libabiword-3.0.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/abiword-3.0,
              /usr/lib/abiword-3.0, and /usr/share/abiword-3.0</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="abiword-prog" name="abiword-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>abiword</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the word processor, a wrapper for the functions in
                    libabiword-3.0 - it can also be used on the command line,
                    see <span class="command"><strong>man 1
                    abiword</strong></span>.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libabiword" name="libabiword"></a><span class=
                    "term"><code class=
                    "filename">libabiword-3.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides functions to access MS Word documents.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-18 13:55:17 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="office.html" title=
          "Office Programs">Prev</a>
          <p>
            Office Programs
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gnumeric.html" title=
          "Gnumeric-1.12.46">Next</a>
          <p>
            Gnumeric-1.12.46
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="office.html" title=
          "Chapter&nbsp;39.&nbsp;Office Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
